package net.tv90.appserveradmin.service;

import net.tv90.appserveradmin.model.Checkitem;
import net.tv90.appserveradmin.model.CheckitemDetailed;

import java.util.List;

/**
 * 检查项，与detailed是一对一关系
 */
public interface CheckitemService {
    List<Checkitem> list();

    Checkitem getById(Long id);

    boolean save(Checkitem checkitem, CheckitemDetailed checkitemDetailed);

    boolean updateById(Checkitem checkitem, CheckitemDetailed checkitemDetailed);

    boolean deleteById(Long id);

    CheckitemDetailed getByCiId(Long ciId);
}
